several bugfixes. most important one: browser freeze when much data was saved