Small fixes
Small fixes

Soft grid threshold no longer will have divide by zero error. A lock is
cleared in the appropriate location. Switched time reporting from gm to
local.

CCBatIIT/AlGDock,CCBatIIT/AlGDock,CCBatIIT/AlGDock,CCBatIIT/AlGDock