Cleaned up and simplified example code

Most examples only define the entity processors now.
Dump selection and code for iterating over dumps is in ExampleHelpers.
This makes it possible to configure things like offlinemode in one
place, and it saves code in individual examples.