Improving Edge3D#run() method to use Window#isCloseRequested()