Fix setting of title in GraphView constructor

This was causing Eclipse to throw an error in the layout editor when no title was set.