This requires plugins to pass plugin_self to Screen::show(), but avoids the need to implement special checks in plugin_onstatechange for the SC_BEGIN_UNLOAD event.