Add excepthook for verbose. Bugfixes