Add initialize to Graphics and clean up exceptions