Fixed errors to make the thing compile & implementet the "getTexture" function to the texture manager.