bug fixes, improved cross browser rendering