Support opening graphs in new dedicated windows
Improve server unit tests and add convenience functions