rewrote the preferences observer, fixed an issue where some menus were no longer updated after a preference change, and moved the calls to enable and disable this observer to the extension startup and shutdown functions
changed/added some comments
got rid of function eG_initMenuIntegration