Add two useful configs for debugging
Add MOD NUM_COLORS to ends-gradient
Slightly improve debug messages
Fix issue in which received tuples were dropped

instead of processed if the received queue was longer than one tuple.