changed cache options. added opts_chunk.
fixed some errors. rendered html.