UI tweaks.
Fix getAttrCount.
wip