Added comments and the help dialog