Fix TS 0.9.5 compiler errors, add drawing of single textures.
Add frame visibility option.