Added mkfifo() call.
Code cleanup.
Compiler issue--fix typo