Catch OS control sequences, like setting the title.