fixes #561 refactor

wrote a parser for toolbars, will handle most possible definitions.
escaped quotes single or double
trailing commas
etc.