A handful of small fixes. Importantly, allow the number 0 to be entered.