Smoothened the UI by using invokeAndWait instead of invokeLater which
keeps the Eventqueue small and therefor responsive.
Merge pull request #77 from iball51860/EventQueueAnalysis

Smoothened the UI by using invokeAndWait instead of invokeLater which