de-duplicate command parsing code
Forum #58125: Initial counters print to console functions. Right click window to use.
Merge pull request #10 from eponymous/master

De-duplicate comand parsing code
Removed unused code to change default channel if @@ used. It would only be used if the input widget is lost; something solidly fixed a while bad.
Fix compiler warnings due to misuse of gzFile.
Add #session_counters command - does the same as the counters window menu option.
Merge git://github.com/raduprv/Eternal-Lands