Early work on integrating JavaFX - very rough at this stage.