!fixup Lots of debug statements dumped in.

Should be done differently, but still useful for debug purposes.