Fixed an invalid offset bug, plus some not working debug stuff.