more updates

More updates.

In particular, this calculates a bgdelta that will be shown on the pebble.