Is there any way to print text onto the window directly in web assembly instead of having to pass string data into javascript, or print to the console?
No. WebAssembly can't directly manipulate the DOM yet. For now you must use Javascript glue. It is a planned future feature however.