ofEvents: better fps by using waitable timer on windows and clock_nanosleep on linux