alright, I finally got around to using a PHP debugger. Holy cow this makes life easier.