Finished migrating from print to window.addstr(). Most stuff should work again. Documented some bugs.