Safer test of -S mode; add -g to allow general Perl expressions; pre-compile -S and -g expressions; prepare a Sandpit for -g and -S, and a few variables - sandpit only used for -g and -S at the moment