experiment is stopped if stimulus not started correctly
bugfix: recording state transitions are displayed correctly
get color function for plot trace colors