Add support for disabling auto title and emacs term

Printing to title inside emacs term causes strange behavior so I added a flag to disable it when inside emacs, also added support for disabling it anywhere using a flag (in case other terms have this issue).