Added test mode parameter

GUI test mode can be started by adding the parameter "-t"