Fixed debug information stuff.
Changed crash handler formating.
Fixed minor bugs.