-fix compilation issues
* Add a scale factor on the phase bar.
* Add the rolling phasebar. * This is a preview version. It shares most of the code with the definitive version, but when the real code is checked in, this will be deleted.