Many changes I hope will improve the flexibility of the program. Not thorough enough to make show.py work on its own, but better than previously.