GSL hardening, make fn vars explicitly local, use only lowercase vars, add trace.