turn tools into toolbar, clean up some connecting signals/slots