Fixed config parse

We always use full comparison statements, since they have a slightly better performance. Please use as often `===` as you can. In some cases you need to check for different types - then `==` or similar checks are allowed. This applies to some of the following lines and files too.