Graphics Integration v4

saving state before integration with cpu