add header guard and includes to windows.h
remove externs in favor of includes
move windows functions to its own file
remove temporary callbacks from refactoring