Fixed a bug in endStream, fixed infinite loop.
Small fix in converter api
Fixed the optimize in the dtsc lib to be an actual optimize.
Fixed nasty segfault bug from Local settings page. It does not segfault anymore.