Made changes to Thread

Changed the sleep for both threads to 0ms, which results in less
flickering for the JCheckBoxes in the settings option.