update display string method, it better than before done,and add the .gitignore to ignore some object or temp file