Fixes and cosmetics

Uses pickle to serialize/unserialize, proper logging, Use add, not set to requeue.