implement tab completion
missing colour code
remove stray debugging messages