i think i fucked up...
graphical output working, ai slightly improved