Added autocomplete and a bunch of features to editor