Moved the Linux graphics context class definition from the header to a seperate source file.