Removed some debug logging.
Comments+Whitespace
Support for compressed codecs.
renamed stuff
Control function now works for compressed formats.
some cleanup