improving on the JavaFX launcher