Agent with performance tweaks, and updated BW4Tserver