Fixed glfwCreateWindow return value semantics.
Added pointer swap macro for callback setters.