Changed event queue to only process same events in order.
[#101] Added option to disallow duplicate tags.