solved tickets 3118, 3154, and more

also:
1) formatted large numbers with thousands symbols
2) added click-to-select text nodes
3) fixed bug of missing label in dump of Query