Improvements on SWF reading etc