Label Name "Duration" might be misleading
When I was using the API, I was first confused as to what the function setDurationLabel() actually does. From pi2-demo I concluded it sets the label which shows the passed time, however the name "duration" for this is misleading, as it describes the time the simulation is supposed to run for, when launching pi2-demo from the CL. I would therefore suggest changing it to "time", or "time passed", to clearly differentiate between the passed simulation time and the total duration of the simulation.