Also--perhaps using an event based interpreter... again, just brainstorming. But it works great for Tk.