Implemented better exception page without codemirror. Fixed testsuite.