Removed scale and centering code, now that this is using the sim framework, and add setting of the layout bounds.