misc agglplanner improvements