added crop offset based on #28, removed console logging, this module really needs a refactor btw