I think it might be best to remove the titlebar functionality altogether.  After testing on OSX (ITerm) the `system` call doesn't work because of the `-n` argument to `echo`, instead an escape character is required to avoid the newline.  Making it work on OSX would stop it working on other shells.

This would mean various checks for echo command before attempting to update the title.  Which seems a bit too complicated.

After checking a few other ncurses applications, I've not found any of them provide this behaviour.