encapsulated common operations

Fixed helpText and removed extra variables for default values

(0) -2 +2 +10 +30 tip

mercurial