main.cpp:
Part where treefrog executes as Windows service was changed according MSDN specification.

windowsservice_win.cpp:
If treefrog runs as Windows service then:
 1. finds it's service name;
 2. register handler by this name;
 3. changes current directory and args passed to managerMain for correct QCoreApplication\QApplication object initialization.
Revert "Commit orginal master tfserver/main.cpp"

This reverts commit ab9732c420f7564b0eadc288e551e3fbdd9b4354.