reformat Windows event loop code from Kaiser
a little more reformatting
reduce make verbosity
Force QtUiTools static lib to be linked after -lsmokeqt. Otherwise, ld
will not know which symbols are needed by the smoke lib from
QtUiTools. Since ld cherry-picks (by default) objects from static libs
according to symbol dependencies, there would be missing symbols.