Support for additonal options for window and tabs and persistent window title is added. Frontend tty.js converted to library.