Fix JavaFx issue on Windows

On windows, JavaFx GUI seems to use too much CPU. I must understand why and fix the problem.

Edited by Damien Carbonne