Added wrapping code to all unknown incoming pointers. csfix still crashes.
Various small bug fixes.
Added timestamps to log.
Added tab levels to log.
Added a simple templated output function to simplify some code generation.