Better error catching for level files.