Very very very work in progress! A lot of debugging printout in the source.
Still working on PV implementation .....