Added GLWidget::recenter. Make sure the MainWindow destructor gets called on app exit.