Start to .xwc format loading support, add file picking dialog, various minor changes