Added more debug info.
Fixed bug in md2 implementation.