made setting of positions dependent on task state (and not sim state)

- if(simulatorInterface->isSimRunning()) did not fullfil the intention

- are the printfs are fine that way?