Updated to latest version of the swf. closes #390 closes #435