Added basic dispatcher queue implementation.
Use a different thread to dispatch events
Properly define source type
Properly configured library link order
Minor changes