Fixed and changed some things in the tutorial and demo widgets.