Basic WIN32 cleanups - get rid of a bunch of unnecessary code.