Added "setTitle" and "resizeTTY"

Added the ability to set the window title and resize the TTY window.