Exiting the application

When exiting the application,

A. Delete constaints

                                m_Solver->removeTask(m_Pos);
                                m_Solver->removeTask(m_Orient)

B. Delete the solver

                                delete m_Solver;