added global exception handler, fixed camera crisis