Errors in Downloadframe code resolved