Fixed import/backup problems

@Smartik89 your merge deleted some lines from this class. I hope there aren't more issues...  :(

Either way, please merge this in some import & export work once more.