Chained key handlers. Only currently works for the case when windows are removed in the same order they're added. Fix shortly.
removing layers needs to dirty the display.
Merge branch 'develop' into feature-windows