Added win32 compatibility & display sleep - Week 1