avoid global variable creation
isolate Gravy from View
Merge pull request #2 from timruffles/updates

Minor fixes