Add search, 'show on map' button, state saving, updating state info, scope filter. Fix bugs