Checking _frameData before disposing it
Better handling of dispose()
Merge pull request #5 from meez/fix-issue-1

Fix of Issue 1