Many small corrections (mainly) on scoping.
Many small corrections on scope.
Correction on access to CGI data.
Proper qualification of variables.
Proper variable qualification.
Corrections on tests (mainly removing previous incompatibilities).