Fixed the problem of connecting, but never initially geting a response from server, so the application would just hang waiting for VALID or INVALID login.  Started documenting classes and function. Hopefully I am explainging why instead of just rewriting the code in pseudocode.