Update example render code for new API

The renderer example doesn't work out of the box because the Create* statements hand back errors along with objects now. Updated those, and added a call the clear on the renderer to prevent junk being displayed to screen.