init commit

Commits from https://github.com/pixelimity/pixelimity/commit/9e91f4b484a7ce06e38e64b92443419c1f10bf67