Multi-instance support

Only works in the GUI for now, doesn't break  the command-line client but the new options are not implemented.

Related to #29 
I think it's nice to catch all exceptions like this in code that's just for display purposes, so that GUI code doesn't break basic operation