Added more menu options, search function, code completion. Started on preview.