Fixed a bunch of bugs, bronanas.