fixes label and input pairing in search box, fixes initial map generation.