Add max home config.

Respect max home.
Rewrite commands slightly (so remove | set is last param)
Fixup tab completion