The X button (or Alt+F4) now works properder, I react on the OnPrompt event and changed logic in drawing a bit.
Added a crashing options panel, but a nice gear to click at.