Re-enabled all profiling and debugging info

Also improved debug output for readability.