Found a problem with the export, the file got cut off before the last part was written. This should fix #35. I also fixed a problem with the delete button that didn't work.