seed random with a real random data
 clean up win32 stuff
open not fopen and other mistakes
correction of types
fix typo
program name when erroring
better message
merging master into random.  Fixing conflicts
Merge pull request #377 from jrossi/random-we-need-random

seed random with a real random data
Fix formatting of chmod() and ErrorExit() params
Merge pull request #389 from awiddersheim/fix_formatting

Fix formatting of chmod() and ErrorExit() params