Unbreak poll guard.
Fix memory access out of bound problem in command line argument processing.
Merge pull request #21 from vyzo/master

Unbreak poll config guard