Fixing NDS UI and some other bugs.
Checking ability ranges.