More figuring about figures; moved more example code to files