Prototypes, Base   :   Major changes to assign_explicit_grids in instrument, general fixes for instrument (_select, in particular), and rearrangement of mode functions in Base.