brushed up events codes, hid pending items
Merge pull request #262 from glenwks/master

brushed up events codes, hid pending items