Removed useless uniform from the phong shader
Minor code cleanup
Fixed settings loading