Setup window properly & initialise OpenGL.