Improve command line interfaces of various tools, fix the last small code style standard violations