still bugs crawling around. need to build debugging framework