Reflect renaming of stmd to cmark
Add support for page up/down keys

These keys are produced by PowerPoint-compatible remote controls such as
the Logitech R400.