--inplace, --compress-level, PEP8 cleanup