added Monoid instance for dire.swing.Elem