small speed optimizations, package.json issue with 'files' clause