It sounds like nobody here uses KDE. Ever since version 1.0 KDE implemented
"Session Restore", that by default restores all the applications the way you left them when shutting down/rebooting. Of course, for this to work you need to use properly written applications that are capable of saving/restoring their state. Most KDE apps do this, but I rarely saw this implemented in non-KDE apps.