rewrote stuff using gtk/pygtk instead of tkinter.