Build in better support for waiting or returning from actions; add docs on adding new actions.