Added autocomplete in the navigation, lots of bug fixes