Various changes to interactive mode to speed up plotting