I think that no XP should be gained while inside a safezone. Perhaps the further away from your totem the more xp gained. This way people wont have a reason to set their totem on top of a junk pile, or craft inside the safe confines of it. It would require you to have a combat character friend for protection, it would create a need for the combat characters and the game could be somewhat balanced in this aspect.