Channels navigation fix.

The channel joining action has been generalized. For instance, it
fixes the situation when the user information was lost as a result of
switch to the parent channel.
Used singleLine attribute for the majority of input fields where it
seems to be appropriate.

This prevents occasional newline character that could be just harmful
in such fields, for instance, as server address.