Fix mantis 3053 (From MageKing17)

Check KEY_DEBUGGED1 to allow event.log snapshot to trigger when using
release+cheats

git-svn-id: svn://svn.icculus.org/fs2open/trunk@10740 387891d4-d844-0410-90c0-e4c51a9137d3
From MageKing17: Fix for Mantis 3502 (Flush the sexp result tree after argument evaluation to avert accidental short-circuit results)

git-svn-id: svn://svn.icculus.org/fs2open/trunk@10741 387891d4-d844-0410-90c0-e4c51a9137d3