Removed log4j. Added some additional exception checking. Fixed up which port was being sent back to the client