log transitions, also fix render-state definition.