some fixes
added close button
enable close and reopen of overlay
complete generation logic
added todo
use transparency for close icon
added debug output
extended saving of option settings