Moved SFEVENT_LAST back to the end of the enumeration
Player now only changes direction if there is space to move to.