Fix minor bugs in export implementation

Should work, but table looks ugly when empty.
Also no confirmation when really emptying the list.
Merge pull request #13 from urdh/branch-fix

Fix minor bugs in export implementation