Fixed some bugs caused by the items in the config being null. (Was critical, blocking.)