Stop scripts

Implemented StopScripts.

Issue WPFerg#13
The rest of the codebase puts opening braces on the same line as their control structures and has a space between the keyword and the opening parenthesis (e.g., `switch (target) {`). Your code should probably use this style for consistency.