BezierCurve: Formatting
BezierCurve: Fix GetPointAt NULL checking
BezierCurve: Check allocation of temp buffers
Grid: Don't generate new buffer names after constructor returns