Can now undo paths if traveling backwards

bug fixes