chat protocol debug

worked out some kinks in the messaging system