Fixed reset bug for the readonly bitstream.
Added meanings to log levels.
Issue #8: Got rid of some todos.