Refine AWTEDTExecutor.invoke(..): Allow control whether a non AWT-EDT may execute the runnable.For some 'rare' AWT/GL lifecycle actions, it is required to only run the command on the AWT-EDT,hence adding an argument determining the restriction.