Fixed socket errors, added harvester

Fixed errors with socket crashing program.  Added harvester.