Fix changelog ===== lines to match appropriately. Fix PHP notices about undefined variables being used.