Added #resumedelay command. Made pausing and resuming more robust.