Reset the global vars every time tokenize is called, thereby allowing the module to be used for multiple different strings without prepending previous uses data.