Removed unused actions from MainWindow
Use C++11 nullptr