code cleanup
temporary commit (will revert)
Revert "temporary commit (will revert)"

This reverts commit b5b127093ec43fe21a78e13714ecee9e9a4ed3fb.
Revert "code cleanup"

This reverts commit f470090315af36bb03af7815d0d9784cbd96b6b7.
Revert "Revert "code cleanup""

This reverts commit b902470724ab4097af3f5039075c323c5499ebb5.
Revert "Revert "temporary commit (will revert)""

This reverts commit 4a4abcbec6540bb69f60030cda89b054c42b5f2e.
commented out important line @mbartling help!!!!

the socket .close() method causes the app to crash on rotate /
reinstantiate therefore it is commented out; sketchy fix that needs
@mbartling to fix... Also we are underpaid