Fixes Issue #2
Merge pull request #8 from chris062689/master

Fixes #2 dealing with showcode and showtext not having a cancel option.