Added forcing of swap interval on DWM composition.
Fixed window positioning on OS X.