Comipile Issue_Uncommented DamienStateMachine

I receive an error when DamienStateMachine is uncommented. Only way to
compile and test my gui was by commenting the whole thing out.

After Testing I uncommented to Document again.