It compiles! Hooray. Still about a billion things to fix before it's
usable though.
Another raft of fixes. Some tests and actions still failing.