Bug fixes.
Merge branch 'jake' of https://github.com/jacoblwright/hit
More bug fixes.
updated
new code

Merge branch 'andy' of https://github.com/jacoblwright/hit into jake
Most up to date code with fixed bugs