refactor how breadcrumb and buttons are generated.
- breadcrumb now checks if there is one available and renders it when given
- buttons are taken from the iframe and rendered