Add new tab and close tab functions.
DRY comint-send-string to inferior-moz-process.