Fix panel_main not restored after restart.

Expose panel_main as `Display::Screen#panel_main`, and use to restore
active tab after restart (triggered by resize) in `App#refresh_loop`.