clean up
add preview window settings