Added a header and a bit more debug info.
Updated readme.