reformatting
Fix bug where the text changed signal was never disconnected
A lots of improvements to the cc mode (should be stable now)