Committed Flash support, plus fixes to HTML5 version