Layout improvements and implement the ability to add custom actions to the toolbar