FIX: Gallery

Updates to the gallery. I can't run all of the examples currently (!), so I can't include all of them.
There is a problem with `Program` parsing. This was being seen as an attribute and causing an error... this should be fixed at some point but was not fixed here.