Some reorg of the chan command so commands are before a channel.

No more chan dgd /history
opps sorry I was trying to do a command that does not exist.

It still needs work but the basics are done.