Fix return value of `openGraphicsView` function.
Remove extraneous space.
Use QString instead of std::string for title comparison.