added some debuggin output, still as clueless as ever as to why keyseq is breaking