Fixed steaming pile of crap and bad pointers, now functioning again....