Small enhancements to the export & fixed a bug where windows of the same project are saved as different ones