several changes to get glop rotator example working
several changes to get glop rotator example working

Don't draw anything before window is exposed.

Put the body of the demo function inside unwind-protect, so dead
windows don't stick around when aborting from the debugger.

Calculate the rectangle animation rotation correctly.

timoore/lpsg