fixed how mag values are set
another mag typo
converted doMag and doMisc to use BarrelFrames
Started working on doHkpg and improved the way record indexes are advanced