Added some graphics and event stuff for Win32.