Fixed some typos and the config option parser