This changeset only clean the main() function's code and comments.