Substituted "if" statements by "switch-case" @ CL options part

Also changed the hardcoded number of threads for "make optirun"