Added exception handling to make any missing config settings really obvious
Added missing xmldoc comment