Fix width and offset of columns that were not saved. Add selection support in grid mode.

... And other UI enhancements :)

Fixes #822