Adapt to changes in master.
Fix NPE on closing editor and simplified hover handling.
Remove more unused methods.
Merge pull request #228 from dragos/api/adapt-master

Adapt to changes in master.