Stack memory test arrays moved out of main.
Added OpenGL, GLEW and glfw3 linking. Added opening a window to main.