refactored queue
some ie specific fixes
Merge pull request #3 from kalmas/events

Recfactoring and IE Fixes