Fix horibly nested if statement
Remove TODO, replaced by github issues
Slight cleanup, no major changes
Fix Gold split shading detection, hopefully.