Added function to return the current message.

  This will either use the named path, or the currently selected
 message.