Bugfixes for events destroy and singlestep shutdown

Minor tweaks, both ultimately for improved correctness and suppression of glib asserts.