Going with defstructs. Added a bunch of globals mimicing Knuth's C code.