Upper bound for consumer count.
Clean other junk from build/ dir.
Thread safe wrappers around printf/fprintf.
Few more checked functions.
More efficient struct passing for KMP.
More efficient struct passing for queue.
Fix other parts of the code to work with the new improvements.