Having fun with javaFX threads.