Link to the shared SplineHelper.cs.
Add null checks.
Upgrade to SharpDX 2.5.0