Merge pull request #89 from manuscle/master

specify encoding for the Query object
Adding labelAttributes support for control-label