Fixed a few typos in the demo
Fixed a typo in ToolBar dragging.
Added a comment.
Avoided some gcc compiler warnings