Lots of bugs removed from ranged attacks; ranged attacks now go through Entity and keypresses are handled for throwing and firing.