shell: Move "Format" action to content panel.

Fixes #1304