state change UI not considering failed messages that are queued
fixes #165
Merge pull request #175 from thelac/dsuo/state-change-ui

Dsuo/state change ui