Fixed a few typos and a bug with top level events.