Fixed several bugs and crashes (texture3D related). Erased velocity from standard deferred lights. Added srand().