KAS: Minor additions (depth attribute) and changes to widget