Dispatch events to local, started, ports.

Fix #15.

Conflicts:
	.gitignore
Strip port refs on queued messages.

This shouldn't really be necessary, but works around a Kamino bug.

I'm not clear on what that Kamino bug is, but it seems to be related to
serializing an object with an array property whose contents share references.