deadlock and reachability check.

The model is now verified against deadlocks and unreachable states.
Plus some GUI improvements…