fixed a couple semantic bugs. I set up the terminal states wrong. The if statements needed a continue on them so they didn't overwrite each other. I also messed up a couple of the actions