lots of improvements, reset fix, resize fix, csv2json fix