* Refactored some stuff
* Removed dead code
* Cleaned up winapi imports/defines