Limit text entry to numbers; closes #6.