Added a tab control to the UI to switch between output modes.