Added StateManager (corrected simple search paging)