Fix the check for caching functions
Add check for database schema changes. Closes #70
Fix multiple notices for same message/same line.