The program recognizes Z symbol in process of mouse movement. In options dialog you can assign recognition parameters. To prevent occasional zigzag recognitions, set the 'maximum time of drawing' to the lowest setting comfortable for you.
To enable/disable the zigzag recognitions, double click on the tray icon .
Of course you can easy restore open windows.