bug fixes after updating to surface/bed editing

pickgui - improved behavior of block re-writing (was saving trimmed
matrices) and surface/bed pick display
mergegui - improved behavior of surface/bed pick display