make generateButtonPanel a method of TamSVG