Fix in DebugProvider (Debug instead of Console), add of IUserExceptionHandler and some Stylecop