clean up db files, split EventItems out of critical SQL