removeLayer was clearing all the overlay layers..

and not repopulating them in the layer control.  This was happening because groupContainer on line 225 was not null, so the "Create the group container if it doesn't exist" section will never be executed, and the innerHTML never populated