Refactored visual object scanner to be event driven.