using SDL event instead of win32 message loop, add dependences