Added multi-phase studies!
tweaked comments
made a cheap ssl hack
Set flag upon phase change, so views can warn user
Implemented Special Conditions