WIP clean up a bunch of stuff and put them behind option flags. Still need to adjust the QRCode dots in portrait mode.
WIP working on getting the result points right, not done yet