removing unused variables. stick to underscore-less naming conventions. correct debug logs, log contextual errors.
Merge pull request #185 from hastef88/peer_review_fixes_queue_purge_and_config_revamp

removing unused variables. stick to underscore-less naming conventions. correct debug logs, log contextual errors.