Plots frontend almost completed. Need to modify behaviour of latest history button when there is a live scan.