Updated handling of null $default value
Changed fgets() to readline().  Updated unknown option description.  Changed how config file is written.