Separated generateIconElements to generateFocusIcons and generateGoIcons.
Fixed a couple bugs.