improve CGI management : now the interposer process is the parent one, should fix some race bugs

+ clean some code