Adding in base code for creating canvas element and getting GL context.