Refactored a bunch of widgets

Also added buttons to slideshow.