Preprocessor (phases 1-4) mostly works now.