with more messages to replicate a flash plugin, and better output