removed all fancy stuff. 
mainwidget now has a close button.
First attempt to create a ListWidgetItem