Breaking a gloss item into two words... not totally happy with the code, but it's working.
Removed extraneous function call.
More sensible XML reading behavior: if a text form or gloss id exists in the database, the string is set to the database value. If it does not, a new text form or gloss is inserted into the database.
Minor UI improvements.