adjustments to cursor handling
various bugfixes
javadoc + jar