Added tab support. New tabs currently do not support any kind of editing.
New tabs created in edit menu or with ctrl-p