Added setGoalState

Now you can set the state of a goal from a thang.