Fix link command not using local name if specified.
Fix extra keys being set even if they are undefined.
Add link command help, tweak some other usage helps.
Fix extraneous packages not contained the linked flag even if they are linked.