Created NamedObject as super class of Medicine to handle common loading of object’s sprite based on given name.
Fixed bug where the web might crash if there are only 3/5/7/8 items in a grid (the code was trying to load the 4th/6th/9th - causing the crash).
Remove redundant log commands.
Added support for loading weapons.
Added support for loading ranged weapons.