Added code for picking up BonusObjects and changed