Do not MakeCurrent more than required.  Don't use a timer on windows for t<10. Adjust size of frame to account for borders