added grayout
Merge pull request #39 from mattinm/master

added grayout