Some debug text fixes