setpower method is now safety critical
Merge origin/master
traincontroller unitscorrected/displayed. traincontroller handling of train errors