Many small fixes for toolbarbuttons and others