Fixing #6

Added small function that embeds calls to pause with state indicator.