Fixed bug with table-sort demo. Renamed the window constructor function. Started porting color_chooser demo.