prettify configurability, resize bug fix