Replaced throw error with log statement and continue
Moved RemoteSWF it to own class file
Fixed ref to btn