Updated helper

made it more readable.
Since we'll be using basemod, helper may be redundant; depends upon what
basemod can do.

also a bunch of other random things I'm not sure what do.
Merge remote-tracking branch 'origin/I-don't-know'