Added try-catch blocks to config system to display faulty config file.