Fix for #2969. Added ability to arbitrarily launch activities.