Check for invalid (unparse-able) numeric arguments

Previously, no argument-validation was done on numeric arguments.
This would cause backtraces/crashes to occur when a user provided
a value that wasn't an integer or float, and raised a ValueError
during the attempted conversion.

This commit fixes this problem by setting the arguments_valid flag
appropriately when invalid numeric arguments are given.

There is no check to ensure that provided integers are positive.