more fine-tuning of smiley window; resize when screen changes