small changes

move options struct into header file
add default screen width variable
add comments
remove exitstate from switch statement as it is the loop stop criteria
do not quit if we enter default state of the switch statement