motor stall issues were due to power supply. Moved several magic numbers to consts.