Comment out the page-refresh-less activation and deactivation of modules.  We really need the page refresh, so that menu items get added and the like.  Leaving the code here for the moment, so we can update things as needed later on.