eliminate annoying trailing space
Fix config handling

Seems like "sections" should be sections under the server type,
although while it wasn't working correctly with the example
config, I'm not sure what exactly the expected behavior
is.