Msa search within map

No quite finished, but I wanted Lucas to be able to use the source map code.