* getActiveOnepercentBin() for onepercent query type
* log messages fixes
* code cleanup