Misc fixes, supports parent tag <g>, styles and added rounded rectangle