Removed TKinter

Removed all code related to the TKinter GUI framework.
Fixed a conflict in merging a pull.