Fixed UI labels, refactored types, added docs, and fixed bug when
replacing option values for tunnel commands