Fixed bug caused the creation of context without setting it's pixel format. Also removing unnecessary printfs.