Changed threading scheme in attempt to improve GUI responsiveness.
(Issue #55)