Added uncaught exception handler. Renamed error handler to _error_handler. CSS fixes