Fix crash when the window disappears.

The redraw procedure was allowed to run after a window was destroyed.

Partially addresses #18
1 job for fix_redraw in 55 seconds (queued for 1 second)
latest