Implemented Global queries

v.1.9.9, Issue [144].
Global is controlled by lnapp.config argument.