Begin of SQLPanel restructure
Hopefully made SQL interaction more robust.
Merge branch 'master' of x:\unimeas_dev