Merge changes I2ff9bd44,I946e681e,If72df07b

* changes:
  Handle content insets for snapshots
  Always remove starting window in performShow
  Initial implementation of snapshots