current idea for recieve script to collect data and only submit until the window and data are recieved
made signicant change after finding out how xbee handles large packets
added some data for new data to come through