finished import, fixed export bugs, fix saving bugs