[Chain] assorted fixes and adjustments. Also a few more function -> command renames