ran into an exception when only one panel stored in settings file

setWorkspace assumed a list was return from the settings file.
In the case where only one panel had been saved to settings, a string was returned and the method started to iterate on the string, as if it was a list.

Please take a look at the proposed fix.