Rename some fields
Implement command line args and type conversions
Implement type conversions for glx and wgl types