- documentation updated
- more of the work for on/off done inside the capsule, hopefully makes the code clearer (and nicer ;))
- expanded_mode() simplified (can only be called within local mode); maybe too restrictive?!