Removed the third party A* stuff, changed the window size calculation, removed debug print statements