Added input validation

no more crashing when people enter a non int for an int.  it displays a
pop up warning