Adds proper wpm calculation and error reporting