more comments and cleanup
more cleanup
stepping through menu started
most of the telnet session debugged