various fixes

resize mostly working now