Fixed various file parsing issues that prevented the mod from loading