Gets rid of unneeded records references on map view, comments out WMS logic.