Remove some profiling and debugging information (use a real debugger and a profiler instead!) Add comments to application class.