Further refactored the renderers, added more functionality to widget.