Implement length verification for names and fac.num.

Change-Id: Idaf4896d6cb7b2daef7f6e869fcd5434118e21a5
Implement ExportToFile menu entry

Change-Id: Id57de84f71db8066dd196429ce2c1e3e488e9a14