Updated main2 to work on Mavericks. (glxw/glfw). Some serious shit to make this happen as neither just build.