Refactor for line length
Move settlement rename functionality into AccountTab

This also makes the headline of account tabs functional again.
py26 compatibility