Fix debug code, remove dumb stuff from command GUI