avoid superfluous events fired upon initialization
move invokeInAwtEventQueue to common helper
use invokeInAwtEventQueue from common helper