Added prototype code for resource loading error detection .