Replace "print" calls by pronsole.log/logError calls
Make model usable as soon as possible in gcview
Sleep a little in layer_ready_cb at times to let UI refresh
Properly quit gcode and viz loading threads when quitting Pronterface