queuing implemented for large data, and some minor bug fixes regarding unacknowledged data packets