Fixed endless loop when inputting more than 1 character when prompted. Effectively fixes issue #1.

Bug: Endless loop when inputting letters into a number.