Update the import library example to be more robust.
Update render threshold to look more like piston code.