Yay! Glad that worked for you.
FYI for me I know it does this more if I am working on a really big file with lots and lots of layers, and then something in life happens I have to leave my computer without properly closing things, and essentially hit the save button but otherwise leave CSP running and just sleep my computer. When I come back to it later and open everything up, all my files and CSP are still running, and if I just go about working on them like usual, I am almost always bound to run into this issue at some point.
So I guess what I'm saying as a way to trouble shoot this issue in the future, it'd be best to not leave large files with like 50+ layers just sitting on the open program all day long XD. I'd probably be better about it myself, but my toddler usually has a way of making me forget every time.