Fix windows build

-Change throttle timer in main_window thread
-Fix underscores in symbols
-Fix library name
-Remove unnecessary ifdefs