Added a fix for disconnect bug.
Disabled a couple Print lines to simplify output for other development purposes.