Fix activities bugs
This fixes the following problems:
- when a preloaded window was used, it was displayed in the activity it was originally created in instead of the current activity
- when launching Konqueror, the new window was set to be displayed in all activities instead of just the current one
- when restoring a session with windows in several activities, they were all moved to the current one