Trying to show BagOfWords on GUI