small bugfixes
more work on Starling textures
add some unused test code