Changed more typos and if-checks

Found another typo in sample.config.ini
- Changed plugins-folder to plugins

Also changed if check on settings variable