Fixed: bug with creating new chunk.
Fixed: removed unsafe footer reading to do some stupid over-protective validation in case of some weird (impossible?) case.
Fixed: warnings about hiding members.