Changed the main engine Exception handler to Throwable