Added comments, better logging, and sharing success feedback