Merge pull request #4 from wenbian/master

Fast forward PatternDisplay