Fix text lump sorting.
Make text lump sorting toggleable.
Rename texture module to texturelist.
Further clean up and document texturelist.
Add merging of ANIMATED and SWITCHES lumps.
Use a function to write null padded strings.
Remove debug messages from animatedlist.