cleaned up code
Added support for drag+drop xml files into Weave.