Testing JNI implementation
Fix UI resizing bugs
Merge pull request #418 from emmanuel-keller/master

Bug fixes and improvements