Fixed some bugs where locationService hadn't been connected yet.