Revised Imp section. Some work on the frame rule. And probably other stuff...