improved scanning/parsing/saving/using paths config, plus minor code structure tweaks
partially completed Windows service support - having some difficulty with relative paths though.. perhaps config should be loaded differently?