More layout updates, changes to reduce the number of calls to _doResize and doLayout and a fix for the problem with not using the defaultTransition.