Updated for new java version
Fixed binding memory leak
Improved logging