cropSettings added to Template Context Settings; some minor cleanup