corrected bug that counted totals column as distinct words
fixed bug where window appeared in bottom right corner