Fixed bugs/typos that wouldn't have happened if I was actually sleeping