source: added some logging functionality. Working on figuring out why nothing is displaying