Completely working draft

This draft allows the widget full functionality.