doc: fix warnings and errors in demo code
While doing some unrelated work, I found a couple of warnings and one error on the demo code. I couldn't miss the opportunity to send upstream such a valuable contribution.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
While doing some unrelated work, I found a couple of warnings and one error on the demo code. I couldn't miss the opportunity to send upstream such a valuable contribution.