more cleanup, Detail VC commented more thoroughly and reorganized, some repeated tests put into functions, learned a lot today...