fix tab completion controls; comment debug lines