Fast layout switching WIP.
Merge branch 'master' into fast_show_hide
Respect current layout when destroying boxes.
Fix ideal width update.