Added API methods and began to work on the window interval bug.
Fixed issue with timeouts and intervals.
Added the ability for a close trigger and some additional debugging messages.
Merge pull request #7 from bmarshall511/1.1.1

1.1.1
Merge pull request #8 from bmarshall511/1.1.x

1.1.1