displayed UI buttons for standard mode
cast msec parameter to long in nanosleep()
Merge remote-tracking branch 'upstream/master' into temp