Modifications to the Setup script

Changed the menu structure to be numerical for all options with 1 being
default.
q will quit at any point.
Updated some system calls to double check for return codes.