add setLinkPriority
shadow storke padding processed, code refactored to support setString