More updater updates and a bug fix.

Fixed a crash related to removing layers. Hopefully that's the last
one...
And more progress on the updater.