fixing security message on OS X
making deadline optional in wordcout example