Dynamic layout updates and bug fixes