Fix regression: missing statistics dialog.
Revision b6e17a96 accidentally removed part of the setup-code for the statistics action, leaving the menu item with an incorrect action.