Adding NovaSilisko's sun and ambient lighting code plus config settings.