Make old codebase basically work

Achievements still don't work, overalls don't work probably, lots of
other things to fix.