Killed warnings: added types to vars etc. Also added ...args to functions that are callbacks for ()* regexps
Merge pull request #2 from aimozg/master

Killed all the compilation warnings