Fixed stuff I did yesterday while half asleep.