Add a wait command to pygmalion. Fixes #121