Path construction window cleanup, loan cheat detection

Managed to do a tiny bit of work, cleaned up the path construction window code by labelling all the addresses. Also implemented one tiny routine that is used for loan cheat detection.