Added some comments to the code that handles SDK interaction.

Merged changes from "exchange_share".