cleaned up code. more cleaning needed. stll have to implement grid overlays and style the widget