changed constructor to use different interface
removed ignoreRepaint field
Merge pull request #45 from Mario-S/2.2

2.2