finished porting plug-in to API version 2.0
fixed some bugs with orthogonal digitizer
Merge pull request #2 from matze09/master

finished porting plug-in to API version 2.0