Update CreateWindow and CreateRenderer calls to capture and report errors correctly
Clear the renderer before drawing to prevent junk being displayed to screen
Merge pull request #71 from Stantheman/render_example_fix

Update example render code for new API