A bunch of bug fixes and updates for Isql