Something happened when editing a Blender scene that caused me to lose the whole texture properties window and most of the materials window as well. They all appear as normal when starting a new file, but for this file they seem to be permanently gone.
This is what the window looks like now:


