code clean up and more.

- Added function for if category image plugin exists.
- Updated version.