Mac crashes, Safari won't open
A couple weeks ago I attempted to download Catalina, but the download stopped/crashed partway through. Now my system claims I have the latest OS, Mojave 10.14.6 and the App store says Catalina is not found. Ever since the failed download, Safari will now and then close, followed by a window saying Apple wants to make changes, enter password. Almost immediately and before I can enter the password, 2 additional windows pop up behind the first. One is blocked and unreadable, the other says Installation complete, Press OK. At this point everything locks up, keyboard, touchpad, mouse. After rebooting, things work. But after the latest such crash, Safari won't open. I get a "Safari quit unexpectedly" message, nothing more. I tried deleting the library/caches/com.apple/Safari/cache.db file, but that did not help. It's a Mac Air 2015.
MacBook Air 13", macOS 10.14