Swaper improvements

Port the default values of sockets as well.
Allow swapping of Invert nodes and Math nodes that are used for b/w
inverting.
Would be nice to have a cleaner solution for this... the menu poll is
getting pretty messy