Fixed some derps, changed some debugging stuff.