updated pyramid match table, including associated support
if refinement is canceled, layer should be refrozen
rewrote most pyramid templates. half assumption invalid. not done