Added Windows Support.

Replaced Qt's keywords with macros that do not collide with GTK.
Removed Qt5 connect() syntax. Keeping two versions in sync was a mental
burden and the old syntax is still compatible.
Fixed one line of code that was broken when Qt's keywords were turned
off.