QT bug fix/new NER support.

- Fixes #151
- Added proper RES support.