If not interactive, return last command retcode.

It theorically enhances posix scription capabilities
Add SyntaxWarning handler on frontent interpreter.