Added checking of bad config on startup and on web requests
Merge pull request #5 from bwestlin/master

Added checking of bad config on startup and on web requests