Added new options to the "New" menu. Tabs now close correctly.