Fixed conversion of Fortran strings to C character arrays.
Fixed task interpretation.

* Updated to extract and compare against first, varying-length word of
  task string rather than fixed-length task prefix, which ->
* Eliminated possibility of tasks not properly matching cases in select
  statement.
* Fixed error message.
Updated to use more idiomatic string comparison.

* Trailing blanks and differing string lengths do not matter for Fortran
  string comparison, so the code need not account for those aspects.
* Replaced 'if' with 'select'.
Added TODOs I have been thinking about.
Cleaned up output of example program.