tweaks to example (all examples run correctly) and added some static docs stuff.