Reverted the revert but with bug fix for freeing imageBuffer
Bumped to v0.4.91