minor fixes and polishing, switched to new goconfig lib