Squashed a TON of bugs

Everything is now (probably) working! :D