Correctly implemented decoding UTF8 const pool entries. Other small changes.