Clean up xul code for languages menu. Still a little rough, but less awful now.