middle mouse position added, connects moved to glade file