Testing out the threading capabilities of JavaFX.