Use std::unique_ptr and created a start function in the UI class.
UI clean up.