Removed some debug code.
Added support for removing images from spritesheets.