Adding rectMode snippet. Correcting ellipseMode snippet format.

Adding semicolon at end of ellipseMode snippet, for consistency with other snippets.