SmartOS support plus other minor stuff

* Collapsing shared example junk per @sethvargo feedback
* Removing unused variable reference