move another demo script in, and do a bit more cleanup
code from mike looijmans for a windows interactive shell -- while i'm mucking around in here, clean up the demos a bit too