Added mode option to Visualiser.