Corrected work of treefrog as Windows service.