doc improvements, replace die() with croak(), better warrnings for perls without 64bitint