Jokes besides, if ~MainInterface() is called, then p_mi is destroyed, and p_sys->p_mi too. I just hope I am not wrong :D