added #pause and #unpause commands.