Replace unload event listeners with domwindowclosed observers.
Streamlined version of bootstrapping.  Cleaned up notifications and listeners.