Lots of small little fixes

* Uninitialized arrays
* Undeclared properties
* Simplified setups for configuration