Slight addition to the GenericObject class. Added conditional display with getImg()