fix resizing crash
Merge pull request #10 from tsdeng/fix_resize_issue_only

fix resizing crash
Set +x on the binary.
Add a license (BSD).
v0.0.8 - A resizing crash fixed, thanks to @tsdeng.