Made the action menu display relevant context-sensitive actions at the top.