Fixed:
-datetime added to maingui
-changed printstacktrace with proper message