README updated, onPreviewChange callback added