Check to see which hour checkboxes to check.
Fixed sthe problem with gui not showing and fixed problm with accesing gui from different thread.