Added ability to switch between editor, markup, table and XML views.