minor corrections in the epool()-based implementation to avoid unnecessary warning messages
fixed a bug showing when the write-pointer and the minimum-read-pointer are equal
off by one  (introduced in last commit)