Partially fixed UI issues with attribute values (particularly defaults)

See commit logs.