Merge pull request #267 from hwhw/master

don't trust Lua GC with MuPDFs objects
Apply only changed properties instead of reapplying them all.
Merge pull request #268 from erosennin/props-apply

Apply only changed properties instead of reapplying them all.