GLFW 3 support and point partitioning improvements