Cache allocated spans array to eliminate GC
Remove unused XML menu
FIX: null textview (used to display name of master document)