MUCH better config parsing - part 1
Parsing bugfixes
More pattern uses, config fixes
Comment changes