runtime: wip: bug fixes, namespace fixes for logger.