Added Widgets, did some code refactoring.
Fixed the chopstring function to strip out HTML and only chop strings if they are shorter than the max length.