A bit of work to get widgets to keep track of mouse state when moved and resized.
Not working yet.