Fixed bug with handling adding/removing columns in GTKUI.

Also reinserted two lines that were lost when porting patch to master