Convert observer to abstract and fixes multiple issue when using queue.

Signed-off-by: crynobone <crynobone@gmail.com>