read config.sample.php options and whitespace fixes