Added debug output; Fixed deprecated HBase APIs.
Cleanup.