commit: Mark buffers modified in #'find-file if nonexistent file; fix other bugs.