speed-up session restore a little

git-svn-id: http://svn.code.sf.net/p/texstudio/code/trunk@4176 92cce386-e96d-4106-809f-596c673a3fd8