Fixes to properly resume plotting after calibration

* Logic changes to enable real time plotting to resume properly after calibration.
* Minor cosmetic fixes of missing #defines for media support (mediaTree)

Mark, have a look at the code.  I believe it works properly (did a full FTP test with this code tonight) but I am not super happy with it.  TrainTool::guiUpdate() is doing a lot and I had to fudge the logic a bit.  I've only tested with a CT and the code filters for this.