Added GLEW.
Attempted to make solution to repaint error, failed.
Successfully drew simple triangle, resize and position is still buggy though.