states for widgets
InitState finished
refractor so states don't hold ref to context
attachedstate and initstate
adding comment block
refactor culling strip to use new widget state machine