to-dict
torepr, fix anf of if to not blowup code (and maybe correct?) and remove consoles