Fix issue #61: Shader.set_code
Also some small fixes here and there.