and rely on signals and slots to get rid of MainWindow::togglePL(). cleaned up some unnecessary includes