Add signal handlers to avoid orphan subprocesses.
The core script of AutoLaTeX is now killing all
the subprocesses it had launched when it received
termination signal.
The Gedit plugin is killing the AutoLateX process
with 'terminate()' in place of 'kill()' to enable
the code script to catch the termination signal.