Made a few changes to the finite state machine, fixed the walking and idle states, and made a few other little changes.