Update uidir.py to launch ed.py when run, etc.

I love the line `_, folders, files = next(os.walk(base_dir))`.