MG: Added window to graphics editor

The shapes are now displayed using a test class.