plot: reselect columns after model change
plot: add some comments
fix a crash with browsing VIRTUAL tables, that we can't query
plot: fix crash with selecting column out of range