Style and script changes

Fixed most errors and neatened up the dropdown of the autocomplete menu