Fix issues with DB and IP checking
Merge branch 'master' of github.com:Mark-Seaman/Brain