Better error handling on shader translator utility page

Provide info logs for both fragment and vertex compilation if compilation
failed, and fix bugs in context creation failure handling.