Had to refactor quite some bits to be able to implement this.
Currently broken: * temperature and position logging in context * pausing and cancelling