Fixed some small bugs that were using the Config wrong.