implement semaphore
clean Win OS code
update cmake file
fix Semaphore
clean win main
fix OsWindow::frame according to EventBuffer implementation