editor: use g_signal_connect_object() to disconnect after destroy

Handy so we don't have to manually disconnect things during destroy.