Enable/disable start/stop/restart buttons based on container state.

Fixes #294.