add 'full' option to buffer argument
reenable sync reset
reworked stream handling