Added frame image/style file export

Fixed some bugs in the base xml also.