PEP8 GraphicsState
Fixes to basecore2d
Forgotten file added to commit.