[RFR] move functions to module scope
[ADD] allow to preview binary fields in tree views