gtkui: removed unused event handlers from mainwin
cleanup unused code; license updates