Fixed #745 and #744: Make widgets fixable and collapsable.

Fixed widget header style issues.