another few days of work, no compiling

.runetype almost ported completely