Added usage of data_array::entry & small bug fixes

Added static queue_ack method which takes vector of data_array::entry.
Small bug fixes include capturing by value in lambda and adding newline character to the end of logging message.