Added GUI elements for switching the chart center between current position and current scan.