fixed most or all of writer bugs - all messages are received now. Also removed test data