Fix errors, get it to build.