Added commands to autocomplete and fixed GUI bug