Fixes for Workbench startup on JavaFX.

Make sure IDEApplication startup is run on UI thread.
Use new nested loop API.