small tidy up.
change of api - merging makePathButton and makeButton.  multipath buttons working.