tentatively finished (\!\!\!). Now error hunting begins, as well as some output rescripting