improved commenting in marlin patch and reworked steps per mm code