p key to show paths, many bug fixes in unit movement