GL screen clearing and buffer swapping now works with the window and contexts, window now has a simple update function