Fixed ending, flying guards and some game breaking bugs