More input checking, more tests

Added check for valid user input, and the tests to test it.
Added action control

action control is a "yes/no" or "Abort retry fail" type prompt