[MIN] XQuery: minor refactorings
[FIX] GUI: correct rendering of database info panels
[MOD] XQuery: bind data reference to variables