A* preparation, input handler, bugixes and more