solved. created new class/module for handling uncaught exceptions
Merge branch 'issue#31' into dev