Cleanup notes for opening database