fixed order of actions in plan (now unbind goes after stateChange)
added module Color