Removed commented code in mainwindow + added method for ocpm status