Added Console.Write of event exceptions
Strip of file:// prefix of loaded resources