Added debugging output for VP and renamed some variables to be consistent within the code.
Attach a file by drag & drop or click to upload