Fix bug in termination of threads in BulkFitnessFunctionMT. Improve command line argument handling.