Maybe final commit
Fixed bugs regarding graph display and autocomplete.