Add fix from Mart
Merge pull request #46 from gameclosure/fix-anim-finish

Add fix from Mart
Add last error log that gets passed to JS
Add file extraction
Remove filename parse code
Merge pull request #47 from gameclosure/add-onerror

Add onerror