Set hit percent to zero, when total is zero.
Fix percent calculations. (Issue #35)