Removed all compile time bugs. Added IO threaded printing. Fixed a bunch of bugs.