Added Tk interface for listener.