Touched up division by zero check. Fixed backspace bug.