Added in functionality to plugin to have the option to hide the widget title when no categories are found.

Also cleaned up various parts of code.