app: Suspend machines on your own

No need for another module to have to explicitly ask App to suspend
machines, it should do so in its _shutdown implementation.
app: Hide window before doing other shutdown

This fixes the regression of Boxes not hiding the main window before
suspending machines on quit.