Core: Limited size of io queues to the number of io threads * 1000. (master)

Example: Added building iterate.cpp example to main build without installation.