Added some debug stuff and fixed the... thing