Further Aggregator fixes and NIO input initial implementation