Use LWJGL Sync class instead of Thread.sleep for JGLFW.
Merge branch 'origin/master'