Fix printf, add missing files.