Merge pull request #1 from functionreturnfunction/master

Fixed the check boxes
added closeOnMax option
Resolved a merge conflict.
Merge branch 'master' into testing