Remove useless menu text change
Move restore_state into #if 0
Remove unused strcins/strndel
Remove unused common/ui/popup.cpp