make a few minor adjustments
do not show min, max and close buttons
do not show min, max and close button
adjustment for first export