Fixed a lot of thigs.