Fixed the crashhandler call inside the main program.
Merge branch 'crashhandler-call-fix' into develop