Moved tr_noise to rd-common/ and improved the image loader.