Fix incorrectly aligned exception throws cause by IDE bug
Add comments, correct misplaced deleteShader(), add link fail checks to ShaderProgram
Move some code to CompCore