#31 refactoring export code, export png asynchronous