Implement delay and endDelay for groups

This happens to test stack ordering at the same time, true. It's difficult to test delay and endDelay separately otherwise.