longparas: safe STRING_NOTFOUND -> -1

Change-Id: Ib60e1f052d15ca49e8cbba48b65a94d273a82170
convert cross-fade dialog to .ui

Change-Id: I51f90299f0a2f9573dd8cfd1e6b875e7c76af125