Better support chromatics in modal_map. Standardize croak calls. Test
and doc improvements.