various updates and fixes

- fixed a few bugs in VIEWER
- fixed the file restriction bug in COMMON (after an error)
- added basic texture support to FORMAT (still needs image file
management)
- supported textures in SSBM.py