memory cleanup
separated t1 encode and decode routines
cleaned up bypass code a bit
clean and document