Added a few checks to make sure a module won't load every time a user clicks a tab button.  A module won't load again until it has finished loading.  This will hopefully reduce the memory consumed by K3 after "fustrated user" attacks.