Fixed a logic error in fnmatch.  Made the config loading a bit more sensible.