Fixed missing references and typos pointed out by coinoperated