Converted StateHandler,State to OpenTK