fixes and beginning of MacVGMRoot. Non-compiling