re the last batch issue, that is handled by calling drainbatch here: https://github.com/rackerlabs/blueflood/pull/155/files#diff-54171a008d02a845573fba1e2e8a54d1R106