Added new and improved generic action queue system to replace the animation queue.