Removed everything due to bizzare unexplained behaviour and a want to
build up from first principles.