This is still very broken and it doesn't load well. But at least it compiles! All build errors (and a few warnings though not all) fixed.