FIX: Bad delivery message callback management
Barnyard cache is now freeing at the end, instead of start. This avoids a lot of lonely packet events
Sanitized spooler.c: some functions made static, some prototypes deleted.