Update nativeshell.pl

fix minor error with malfunctioning 'quit' command not quitting.