Temporarily disable CGColor setting due to Swift bug.
Fixup moving over existing resources.
Add more fixes for run-time issues...

Fix missing teardown. KVO zombie exception
actually crashes Swift.

Add more nil-check fixes.

Fix visibility of keyboard notification handler.

Also some minor whitespace.
Rewrite custom event collection updater, again.

Go back to using NSArray's, since Swift arrays
aren't passed by reference, which is against this
code's assumptions. I'm sure there are other
places that also rely on this assumption...

Another problem with the lazy accessor is it only
gets evaluated once, even if it becomes nil.
Simplify the invalidation logic and just use a
more clearly named update method for everything.

Also restructure the variable assignment to be
clearer.