Wow this is stressful. Fixed a bunch of stuff.