Minor changes to avoider.cpp class.
Use a regular mutex lock instead of a MutexLocker for consumer.cpp
Refactor classes.

- Only destroy one box temporarily to prevent crashes.