unsigned warning fixes and added button to toolbar