fixes #1356 for the log query use case; we wait now until the first request returns before trying to fetch more data
added handy tostring
#1356 improve the log plugin so we use a configurable small-ish batch to poll for messages to avoid locking up for long periods of time when there's huge amounts of logs available