Windows 7 might not like the way I do the scanline effect. Does it still crash if you disable scanlines (F1) before exiting? Also which version are you using?
Yes, disabling scan lines fixed both problems. I am using version 1.1