logicat, some boost fixes, totalCastlesDown fix