Added res folder validator.

This should avoid any further issue along the lines of
http://mancubus.net/forums/index.php/topic,1223.0.html and similar.