Chained changes in one commit:
- Category attribute added to kb files
- KBVersion incremented to 3 because of that
- Different kblayout settings interface to group by categories.
- Low level mouse hook induced race condition? fixed.
- Better handling of kb file loading errors.