Fixed a ton of bugs. yay