Incorrect character handling.

Added handling to prevent the user from entering incorrect characters in any of the textboxes.

Best change ever.