change stuff so pubnub messages are explicitly consumed, fix crashes?