Addition of variable pass option and other run time improvements, plus initial functionality for image simulation