Even more Improvements

- Added dialogue for connection testing and verified order of checks
made sense.
- Added a debugging mode where variables would be switched for testing.
Debugging mode requires that the user running the application be
adm_lewisd01.