Added 'datamode' and 'displaymode' support to Action

Making it possible to display the same data in a variety of ways.