Made image shares' black part transparent & updates

The black regions of the image share are transparent and made some minor
changes and code cleanup