Added basic action queue functionality.