Updates to the Mosaic plugin

- added pixel trim option for removing unwanted borders
- added a primitive background matching feature