fixed some bugs

cleanup up the config a bit too, no idea why pieces of config init were in core's init