fixed printouts for debugging
removed unused imports and cleaned up debugging printouts
removed cluttering printouts
removed cluttering printouts & fixed writeObject
merged communication fix