Getting quitting working

Client can now use "quit" to end execution of the program and achieve an
exit state. One return press after the program execution has ended is
necessary to fully close it out.