Fixed NullPointerException when coming from stable release.
Removed unused libraries to make package more lightweight.