Only run when actually needed, that is when a field to check has changed

Additionally, clean it up so it uses the Config calls instead of calling
statics directly.
Merge pull request #2 from halkyon/cleanup

Only run when actually needed, that is when a field to check has changed