Fixed core module so at least now it loads and runs test code.
Core TB still incomplete, can't log console or CPU activity.