Move all tkinter calls into main thread (fix #82)

The collocations and concordance app fail on systems where tcl/tk isn't compiled with thread support (issue #82).  The fix is to move all of the calls to tkinter into the main thread and using a queue rather than tkinter events for communication between sub-threads and the main thread.