added possibility to disable standard exception handler. fixed a problem with login screen