Samples additions

* exit sample app when the main window is closed
* add an example for ellipsized, centered labels
* add an example for multilined TextEntry