Some corrects for Windows service mode of treeforg (tfmanager).