added proper command line args
cleanup of command line args
cleaned up option handling
cleanup
xchat format support
only count users with > 10 messages
clean up logging