Modified condition variable WaitFor() to return if it got a signal or if it timed out.
Implemented a swap interval (vsync toggle). Windows only at the moment.
Fixed a bug when creating several windows.