Finish removing compile errors.  Many bugs remain.