moved more code out of int main() to get ready to move glfw stuff to a similar named file (to try making it easier moving between windowing systems if it gets down to that).

added glfwWindowHints for opengl 3.0 context (might be hardcore and just hit 4.0, but most likely wont matter).

still need to move the remaining 3 glfw functions out of int main(), and start with keyboard input.