style refactor

instead of a fixed set of style properties per element, styles are now
identified by identifier strings.