Working version of VPA 12 software done

Essential bits working. Fixed all single point failure errors I could
find