JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed some global vars which should be static instead