code style fix for main.cpp
code style for input.cpp
code style fix for botctl.cpp
styoe  for counter
some xmpp code clean up