Tidied up r_m.php. Now it checks if URL image actually exists.