tab support, textarea autoresize & some bugfixes