Made a few changes to map.qtls.R following Dan's suggestions.