Added more debug statements

In order to allow slightly more insight as to what is going on, added
some more Write-Debug calls, as well as wrapped main logic in try/catch
block.
Updated synopsis

Re-read the synopsis, and made a slight change.