fixes windows build, should also fix on mac

someone test please
also removed swf saving functionality