Added more actions, and some code to select between them.
Merge pull request #5 from markstev/master

Added more actions, and some code to select between them.