Removed unused padding-right of the controls bar

Removing this doesn't affect the controls bar visually but does affect
the breadcrumb calculation when getting available width.
Breadcrumb width calculation fix

Rewrote the breadcrumb calculation to be more readable.

Breadcrumb now has a setMaxWidth() method to set the maximum allowed
width which is used to fit the breadcrumbs.