Fixed invalid return code check in queue.c
Removed newline from debug macros.