Added document bodies to the tabs, implemented some menu functionality.