Moved code in handleUI that checks if an input is a number into Utilities.IsNumber(input) for future reuse.